import { createRouter, createWebHashHistory } from 'vue-router'

const routes = [
  {name: '404', path: "/404", component: () => import('./pages/error/index.vue') },
  {name: 'home', path: "/", component: () => import('./pages/home/index.vue') },
]

const router = createRouter({
  history: createWebHashHistory(),
  routes,
})

export default router;